package com.xnyzc.lhy.common.penum;


import com.xnyzc.lhy.common.entity.PEnum;

/**
 * 消费类型
 */
public enum EGoodsUnit implements PEnum<String> {
    times("元/次"), square("元/平米"), kilometre("元/公里"), piece("元/个");

    private String desc;

    EGoodsUnit(String desc) {
        this.desc = desc;
    }

    @Override
    public String getValue() {
        return name();
    }

    @Override
    public String toString() {
        return name();
    }

    @Override
    public String toChString() {
        return desc;
    }
}
